
<template>
      <el-table :data="tableData" style="width: 100%">
      <el-table-column prop="wareHouseName" label="仓库名称" width="600" />
      <el-table-column prop="warehouseID" label="仓库编号" width="600" />
      <el-table-column prop="createTime" label="创建时间" width="600" />
    </el-table>
  </template>
  <script lang="ts" setup>
  import { ref,onMounted,reactive } from 'vue'
  import axios from 'axios';
  
  
  const tableData = ref([])
  
  const getdata=()=>{
    axios({
      url:'http://localhost:5062/api/Mangers/WareHouseHandle',
      method:'get',
      
    })
    .then((res)=>{
      tableData.value=res.data.data;
    })
  }
  onMounted(()=>{
    getdata()
  })
  </script>
  